package com.doctcloud.hisinfo.common;

import com.doctcloud.common.security.annotation.EnableDCFeignClients;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.retry.annotation.EnableRetry;

@EnableDCFeignClients
@SpringBootApplication
@EnableRetry // 可选：如果 ES 实现类用了 @Retryable 重试注解，必须加这个开启重试功能
public class DoctCloudHisCommonApplication {
    public static void main(String[] args) {
        SpringApplication.run(DoctCloudHisCommonApplication.class, args);
        System.out.println("  HIS公共模块启动成功    \n" +
                " __             _                               \n" +
                " ) ) _   _ _)_ / ` ) _       _ )    _  _   _ _  \n" +
                "/_/ (_) (_ (_ (_. ( (_) (_( (_(  o (_ (_) ) ) ) \n");
    }
}
